//
//  AFN.h
//  Custom
//
//  Created by dllo on 15/11/26.
//  Copyright © 2015年 KPY. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^responseObject)(id result);
typedef void (^netWorkStatus)(NSString *status);

@interface AFN : NSObject

+ (void)GETDataWithURL:(NSString *)url block:(responseObject)result;

+ (void)POSTDataWithURL:(NSString *)url POST:(NSDictionary *)dic block:(responseObject)result;

+ (void)showNetWorkStatus:(netWorkStatus)result;

@end
